import React from 'react'
import { Button, Card, Toast } from 'antd-mobile'
function Mycard({item,index}) {
  return (
    <div>
      <Card key={index}>
                        <div style={{ display: 'flex', justifyContent: 'space-around' }}>
                            <div><img src={item.image} alt="" style={{ width: '80px', height: '60px' }} /></div>
                            <div>
                                <p>{item.title}</p>
                                <p>{item.date}</p>
                                <p>{item.price}</p>
                            </div>
                        </div>
                    </Card>
    </div>
  )
}

export default Mycard
